package com.gscitysfy.cus.drain.modules.common.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

import lombok.Getter;
import lombok.Setter;
import org.springframework.data.annotation.Transient;

/**
 * @author Administrator
 * @since 2022-10-14 15:00:46
 */
@Getter
@Setter
@TableName("drain_inspection_mn_file")
public class DrainInspectionMnFile implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 文件id
     */
    @TableId
    private Long cmKid;

    /**
     * 文件名
     */
    private String cmFileName;

    /**
     * 文件大小，单位kb
     */
    private double cmFileSize;

    /**
     * 文件预览地址
     */
    private String cmFilePreviewUrl;

    /**
     * 文件类型
     */
    private String cmFileType;

    /**
     * 桶名称
     */
    private String cmBucketName;

    /**
     * 文件md5
     */
    private String cmFileMd5;

    private String cmCreator;

    private String cmModifier;

    private String cmOrgflag;

    private Long cmRegflag;

    private String cmTenantid;

    private Date cmAddtime;

    private Date cmUptime;

    private Long cmVersion;

    private Boolean cmUsable;

    /**
     * 文件名称
     */
    @Transient
    @TableField(exist = false)
    private Long id;
    /**
     * 文件名称
     */
    @Transient
    @TableField(exist = false)
    private String name;

    /**
     * 文件路径
     */
    @Transient
    @TableField(exist = false)
    private String filePath;


    /**
     * app图片路径
     */
    @TableField(exist = false)
    private String cmFilePreviewUrlApp;
}
